package com.linkelee.server.consumer;

import com.linkelee.MqConsumerListener;
import com.linkelee.annotation.NotifyListener;
import com.rabbitmq.client.Channel;
import org.springframework.amqp.core.Message;
import org.springframework.stereotype.Component;

@Component
@NotifyListener
public class DirectConsumer implements MqConsumerListener {
    @Override
    public void onMessage(Message message, Channel channel) throws Exception {
        System.out.println("2333333s");
    }
}
